package com.awesome.spring.sentinel.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: awesome-spring
 * @description: Sentinel控制器类
 * @author: Alex Wu
 * @createDate: 2025-02-06 15:52
 **/
@RestController
public class SentinelController {
    @GetMapping("/hello")
    public String hello() throws InterruptedException {
        // 快速点击访问，触发限流
        return "hello";
    }


}
